package com.wang.luntan.users.pojo;

public enum AtUsersEnum {
    /*
     * 枚举必须从已知的选项卡拿一个出来 红绿灯: 多项枚举:类似于Map;
     */
    /*
     * 定义枚举项
     */
    SEX_UNKNOW("未知", Byte.valueOf("0")),
    SEX_MAN("男", Byte.valueOf("1")),
    SEX_WOMEN("女", Byte.valueOf("2")),

    STATUS_DISABLED("禁用", Byte.valueOf("0")),
    STATUS_ENABLE("启用", Byte.valueOf("1")),
    ;

    private String name;
    private byte status;

    private AtUsersEnum(String name, byte status) {
        this.name = name;
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public byte getStatus() {
        return status;
    }

    public void setStatus(byte status) {
        this.status = status;
    }

}
